import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import getters from './getters'
import { homeList } from './modules/homeList'
import { previewList } from './modules/galleryPreview'
import { common } from './modules/common'
import { thumb } from './modules/thumb'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    homeList,
    previewList,
    common,
    thumb
  },
  getters,
  mutations
})
